package com.effectiv.crm.domain;

import java.io.Serializable;

import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@Document(collection = "ACCOUNT")
public class Account  extends AbstractDocument implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	private String name;
	
	private Account parent;
	
	private String type;
	
	private String industry;
	
	private double annualRevenue;
	
	private int rating;
	
	private String stockQuote;
	
	private String phone;
	
	private String otherPhone;
	
	private String email;
	
	private String altEmail;
	
	private int noOfEmployees;
	
	private String website;
	
	private String fax;
	
	private boolean emailOptOut;
}
